package fr.pascal;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class DoSomething implements Controller {

	public ModelAndView handleRequest(HttpServletRequest request,
			HttpServletResponse response) throws Exception {

		response.setContentType("text/html");
		PrintWriter out = response.getWriter();
		out.println("<html><head><title>tahe-xmvc-02</title></head>"
				+ "<body>tahe-xmvc-02 : DoSomething ex&eacute;cut&eacute; ...</body></html>");
		return null;
	}
}
